﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ByteSite.BLL
{
    public class list_item
    {
        private readonly Entitys.sysconfig sysConfig = new BLL.sysconfig().loadConfig();//获得系统配置信息
        private readonly DAL.list_item dal;

        public list_item()
        {
            dal = new DAL.list_item(sysConfig.sysdatabaseprefix);
        }

        public List<Entitys.list_item> GetList(string table, string keyColumn, string valueColumn, Dictionary<string, string> where, string filedOrder = "id asc")
        {
            return dal.GetList(table, keyColumn, valueColumn, where, filedOrder);
        }
    }
}
